home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1999 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'UPTShellControls.pas' rev: 4.00
-
- #ifndef UPTShellControlsHPP
- #define UPTShellControlsHPP
-
- #pragma delphiheader begin
- #pragma option push -w-
- #include <UPTImageCombo.hpp> // Pascal unit
- #include <UPTShellUtils.hpp> // Pascal unit
- #include <UPTTreeList.hpp> // Pascal unit
- #include <UPTShell95.hpp> // Pascal unit
- #include <ImgList.hpp> // Pascal unit
- #include <OLE2.hpp> // Pascal unit
- #include <Menus.hpp> // Pascal unit
- #include <ExtCtrls.hpp> // Pascal unit
- #include <ComCtrls.hpp> // Pascal unit
- #include <Commctrl.hpp> // Pascal unit
- #include <StdCtrls.hpp> // Pascal unit
- #include <ShellAPI.hpp> // Pascal unit
- #include <Dialogs.hpp> // Pascal unit
- #include <Forms.hpp> // Pascal unit
- #include <Controls.hpp> // Pascal unit
- #include <Graphics.hpp> // Pascal unit
- #include <Classes.hpp> // Pascal unit
- #include <SysUtils.hpp> // Pascal unit
- #include <Messages.hpp> // Pascal unit
- #include <Windows.hpp> // Pascal unit
- #include <SysInit.hpp> // Pascal unit
- #include <System.hpp> // Pascal unit
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Uptshellcontrols
- {
- //-- type declarations -------------------------------------------------------
- #pragma option push -b-
- enum TPTShellTreeOption { ptstoAutoFill, ptstoVirtualFolders, ptstoDesignInteractive, ptstoDefaultKeyHandling,
- ptstoContextMenus, ptstoDynamicRefresh, ptstoIncludeNonFolders, ptstoOleDrag, ptstoOleDrop, ptstoShowHidden
- };
- #pragma option pop
-
- typedef Set<TPTShellTreeOption, ptstoAutoFill, ptstoShowHidden> TPTShellTreeOptions;
-
- #pragma option push -b-
- enum TPTShellListOption { ptsloAutoFill, ptsloNonFilesystemAncestors, ptsloDesignInteractive, ptsloDefaultKeyHandling,
- ptsloContextMenus, ptsloDontChangeFolder, ptsloDontGoBelowBase, ptsloDynamicRefresh, ptsloHideFoldersWhenLinkedToTree,
- ptsloOleDrag, ptsloOleDrop, ptsloFolderContextMenu, ptsloShowHidden };
- #pragma option pop
-
- typedef Set<TPTShellListOption, ptsloAutoFill, ptsloShowHidden> TPTShellListOptions;
-
- #pragma option push -b-
- enum TPTShellComboOption { ptscoAutofill, ptscoNonFilesystemAncestors };
- #pragma option pop
-
- typedef Set<TPTShellComboOption, ptscoAutofill, ptscoNonFilesystemAncestors> TPTShellComboOptions;
-
- typedef void __fastcall (__closure *TPTShAddItemEvent)(System::TObject* aSender, Uptshell95::IShellFolder*
- aParentIShf, Uptshell95::PItemIDList aParentAbsIdList, Uptshell95::PItemIDList aItemRelIdList, int
- aAttribs, BOOL &afAllowAdd);
-
- typedef void __fastcall (__closure *TPTShTreeInsertItemEvent)(System::TObject* aSender, Comctrls::TTreeNode*
- aNode);
-
- class DELPHICLASS TPTShTreeData;
- typedef void __fastcall (__closure *TPTShTreeDeleteItemEvent)(System::TObject* aSender, Comctrls::TTreeNode*
- aNode, TPTShTreeData* aShTreeData);
-
- class DELPHICLASS TPTShListData;
- typedef void __fastcall (__closure *TPTShListDeleteItemEvent)(System::TObject* aSender, Comctrls::TListItem*
- aNode, TPTShListData* aShListData);
-
- class DELPHICLASS TPTShComboData;
- typedef void __fastcall (__closure *TPTShComboDeleteItemEvent)(System::TObject* aSender, int aItem,
- TPTShComboData* aShComboData);
-
- typedef void __fastcall (__closure *TPTShDblClickOpenEvent)(System::TObject* aSender, bool &afHandled
- );
-
- typedef void __fastcall (__closure *TPTShPopupHintEvent)(System::TObject* aSender, const AnsiString
- hint);
-
- typedef void __fastcall (__closure *TPTShTvCustomDrawEvent)(System::TObject* aSender, Upttreelist::TPTCustomDraw*
- aCD, Comctrls::TTreeNode* aNode, TPTShTreeData* aData);
-
- typedef void __fastcall (__closure *TPTShLvCustomDrawEvent)(System::TObject* aSender, Upttreelist::TPTCustomDraw*
- aCD, Comctrls::TListItem* aItem, TPTShListData* aData);
-
- #pragma option push -b-
- enum TPTShellLocator_Which { usePidl, useCSIDL };
- #pragma option pop
-
- class DELPHICLASS TPTShellLocator;
- #pragma pack(push, 4)
- class PASCALIMPLEMENTATION TPTShellLocator : public Classes::TPersistent
- {
- typedef Classes::TPersistent inherited;
-
- protected:
- TPTShellLocator_Which mWhich;
- Uptshell95::TItemIDList *mIdList;
- Uptshellutils::TCSIDL mCSIDL;
- Classes::TNotifyEvent mOnChange;
- DYNAMIC void __fastcall Changed(void);
- AnsiString __fastcall GetPathName();
- Uptshell95::PItemIDList __fastcall GetIdList(void);
- Uptshellutils::TCSIDL __fastcall GetCSIDL(void);
- void __fastcall SetIdList(Uptshell95::PItemIDList aValue);
- void __fastcall SetPathName(AnsiString aValue);
- void __fastcall SetCSIDL(Uptshellutils::TCSIDL aValue);
- virtual void __fastcall DefineProperties(Classes::TFiler* filer);
- void __fastcall ReadData(Classes::TStream* stream);
- void __fastcall WriteData(Classes::TStream* stream);
-
- public:
- __fastcall virtual ~TPTShellLocator(void);
- virtual void __fastcall Assign(Classes::TPersistent* source);
- bool __fastcall IsEqual(TPTShellLocator* aValue);
- void __fastcall Clear(void);
- __property Uptshell95::PItemIDList IdList = {read=GetIdList, write=SetIdList};
- __property AnsiString PathName = {read=GetPathName, write=SetPathName};
- __property Uptshellutils::TCSIDL CSIDL = {read=GetCSIDL, write=SetCSIDL, nodefault};
- __property Classes::TNotifyEvent OnChange = {read=mOnChange, write=mOnChange};
- public:
- #pragma option push -w-inl
- /* TObject.Create */ inline __fastcall TPTShellLocator(void) : Classes::TPersistent() { }
- #pragma option pop
-
- };
-
- #pragma pack(pop)
-
- class DELPHICLASS TPTCustomShellTree;
- class DELPHICLASS TPTCustomShellList;
- #pragma option push -b-
- enum TPTCustomShellList_LCS { lcsNone, lcsShellDetails, lcsDefault };
- #pragma option pop
-
- class DELPHICLASS TPTCustomShellCombo;
- #pragma pack(push, 4)
- class PASCALIMPLEMENTATION TPTCustomShellCombo : public Uptimagecombo::TPTCustomImageCombo
- {
- typedef Uptimagecombo::TPTCustomImageCombo inherited;
-
- private:
- int mIgnoreChanges;
- TPTCustomShellTree* mShellTree;
- TPTCustomShellList* mShellList;
- TPTShellLocator* mSelectedFolder;
- TPTShellComboOptions mOptions;
- HIDESBASE MESSAGE void __fastcall CMDesignHitTest(Messages::TWMMouse &aMsg);
- TPTShellLocator* __fastcall GetSelectedFolder(void);
- TPTShComboData* __fastcall GetShComboData(int index);
- void __fastcall SetSelectedFolder(TPTShellLocator* aValue);
- void __fastcall SetShellList(TPTCustomShellList* aValue);
- void __fastcall SetShellTree(TPTCustomShellTree* aValue);
-
- protected:
- virtual BOOL __fastcall CanAdd(Uptshell95::IShellFolder* aParentIShf, Uptshell95::PItemIDList aParentAbsPidl
- , Uptshell95::PItemIDList aItemRelPidl, unsigned attribs);
- DYNAMIC void __fastcall SelEndOk(void);
- virtual void __fastcall CreateWnd(void);
- virtual void __fastcall DestroyWnd(void);
- virtual void __fastcall Loaded(void);
- virtual void __fastcall DeleteItem(void * aItem);
- virtual void __fastcall GetItemData(Uptimagecombo::TPTImageComboItem* aItem);
- virtual void __fastcall SelectedFolderChanged(System::TObject* aSender);
- virtual void __fastcall TreeChanged(Comctrls::TTreeNode* aTreeNode);
- virtual void __fastcall FillCombo(Uptshell95::IShellFolder* aIShf, Uptshell95::PItemIDList aBasePidl
- , int aIndent, Uptshellutils::TPTIdListArray* aSelectedItem);
- __property TPTCustomShellTree* ShellTree = {read=mShellTree, write=SetShellTree};
- __property TPTCustomShellList* ShellList = {read=mShellList, write=SetShellList};
- __property IndentPixels ;
- __property TPTShellComboOptions Options = {read=mOptions, write=mOptions, default=3};
- __property TPTShellLocator* SelectedFolder = {read=GetSelectedFolder, write=SetSelectedFolder};
- __property TPTShComboData* ShComboData[int index] = {read=GetShComboData};
- __property Items = {stored=false};
-
- public:
- __fastcall virtual TPTCustomShellCombo(Classes::TComponent* aOwner);
- __fastcall virtual ~TPTCustomShellCombo(void);
- void __fastcall FillItems(void);
- void __fastcall GoUp(int aLevels);
- void __fastcall Synchronize(bool afApplyToGroup);
- public:
- #pragma option push -w-inl
- /* TWinControl.CreateParented */ inline __fastcall TPTCustomShellCombo(HWND ParentWindow) : Uptimagecombo::TPTCustomImageCombo(
- ParentWindow) { }
- #pragma option pop
-
- };
-
- #pragma pack(pop)
-
- #pragma pack(push, 4)
- class PASCALIMPLEMENTATION TPTCustomShellList : public Upttreelist::TPTCustomListView
- {
- typedef Upttreelist::TPTCustomListView inherited;
-
- private:
- TPTCustomShellList_LCS mLastColState;
- bool mLastFolderWasDir;
- TPTShPopupHintEvent mOnPopupHintProc;
- Uptshell95::IShellFolder* mIShf;
- Uptshell95::TItemIDList *mIShfPidl;
- bool mfIShellDetailsValid;
- Uptshell95::IShellDetails* mIShellDetails;
- TPTShellLocator* mFolder;
- TPTShellListOptions mOptions;
- TPTShAddItemEvent mOnAddItemProc;
- TPTShListDeleteItemEvent mOnDeleteItemProc;
- TPTShDblClickOpenEvent mOnDblClickOpenProc;
- TPTShLvCustomDrawEvent mOnCustomDrawShProc;
- TPTShLvCustomDrawEvent mOnCustomDrawShExProc;
- Classes::TNotifyEvent mOnFillComplete;
- Classes::TNotifyEvent mOnFillStart;
- Classes::TNotifyEvent mOnFolderChanged;
- AnsiString mFileFilter;
- void *mFilterLookupTable;
- Classes::TStringList* mFilterExtensions;
- Extctrls::TTimer* mTimer;
- TPTCustomShellTree* mShellTree;
- TPTCustomShellCombo* mShellCombo;
- Uptshell95::IContextMenu* mActiveIContextMenu;
- int mSortColumn;
- int mIgnoreChanges;
- bool mfIgnoreNextChangeNotify;
- void *mChangeHandlerThread;
- AnsiString mDeferredEditName;
- bool mfSkipRButtonUp;
- bool mfDeferRefresh;
- bool mfRefreshDeferred;
- TPTShListData* mCurrentItemData;
- unsigned mCurrentItemFlags;
- Uptshell95::IShellDetails* mCurrentItemIShd;
- int mLastAutoScrollTick;
- bool mfLoaded;
- bool mfInCreateWnd;
- bool mfSortColumnAssigned;
- bool mfDeletingItems;
- IDataObject* mIDataObject;
- void __fastcall OleBeginDrag(Controls::TMouseButton aButton);
-
- protected:
- IDropTarget* mIDropTarget;
- IDataObject* mILastDropDataObject;
- int mInitialDropKeyState;
- virtual unsigned __fastcall OnDropTarget_DragEnter(const IDataObject* dataObj, int grfKeyState, const
- Windows::TPoint &pt, int &dwEffect);
- virtual unsigned __fastcall OnDropTarget_DragOver(int grfKeyState, const Windows::TPoint &pt, int &
- dwEffect);
- virtual unsigned __fastcall OnDropTarget_DragLeave(void);
- virtual unsigned __fastcall OnDropTarget_Drop(const IDataObject* dataObj, int grfKeyState, const Windows::TPoint
- &pt, int &dwEffect);
-
- private:
- void __fastcall InitColumns(Uptshell95::IShellDetails* ishd);
- void __fastcall InitImageLists(void);
- bool __fastcall IsFolderStored(void);
- Uptshell95::IShellDetails* __fastcall GetCurrentFolderIShellDetails(void);
- void __fastcall HandleOnFolderChanged(System::TObject* aSender);
- TPTShListData* __fastcall GetSelectedItem(void);
- TPTShListData* __fastcall GetShListData(int idx);
- void __fastcall SetFileFilter(const AnsiString aValue);
- void __fastcall SetFolder(TPTShellLocator* aValue);
- void __fastcall SetShellTree(TPTCustomShellTree* aValue);
- void __fastcall SetShellCombo(TPTCustomShellCombo* aValue);
- void __fastcall SetSortColumn(int aValue);
- void __fastcall SetOptions(TPTShellListOptions aValue);
- void __fastcall TimerElapsed(System::TObject* sender);
- MESSAGE void __fastcall AMChangeNotify(Messages::TMessage &aMsg);
- MESSAGE void __fastcall AMDeferredEdit(Messages::TMessage &aMsg);
- MESSAGE void __fastcall AMDeferredFill(Messages::TMessage &aMsg);
- HIDESBASE MESSAGE void __fastcall CMDesignHitTest(Messages::TWMMouse &aMsg);
- MESSAGE void __fastcall CMWantSpecialKey(Messages::TWMKey &aMsg);
- HIDESBASE MESSAGE void __fastcall CNNotify(Messages::TWMNotify &aMsg);
- MESSAGE void __fastcall WMMenuChar(Messages::TWMMenuChar &aMsg);
- HIDESBASE MESSAGE void __fastcall WMDrawItem(Messages::TWMDrawItem &aMsg);
- HIDESBASE MESSAGE void __fastcall WMDestroy(Messages::TWMNoParams &aMsg);
- HIDESBASE MESSAGE void __fastcall WMNCDestroy(Messages::TWMNoParams &aMsg);
- HIDESBASE MESSAGE void __fastcall WMNCHitTest(Messages::TWMNCHitTest &aMsg);
- HIDESBASE MESSAGE void __fastcall WMMeasureItem(Messages::TWMMeasureItem &aMsg);
- MESSAGE void __fastcall WMMenuSelect(Messages::TWMMenuSelect &aMsg);
- HIDESBASE MESSAGE void __fastcall WMRButtonUp(Messages::TWMMouse &aMsg);
- MESSAGE void __fastcall WMInitMenuPopup(Messages::TWMInitMenuPopup &aMsg);
- HIDESBASE MESSAGE void __fastcall WMWindowPosChanged(Messages::TWMWindowPosMsg &aMsg);
- MESSAGE void __fastcall WMGetIShellBrowser(Messages::TMessage &aMsg);
-
- protected:
- bool __fastcall ShouldInclude(Uptshell95::PItemIDList baseidlist, Uptshell95::PItemIDList relidlist
- , unsigned &attrib);
- unsigned __fastcall AddNewShellItem(Uptshell95::PItemIDList aAbsIdList, Uptshell95::PItemIDList aRelIdList
- );
- virtual BOOL __fastcall CanAdd(Uptshell95::IShellFolder* parentIShf, Uptshell95::PItemIDList parentAbsPidl
- , Uptshell95::PItemIDList itemRelPidl, unsigned itemAttributes);
- DYNAMIC bool __fastcall CanEdit(Comctrls::TListItem* aItem);
- DYNAMIC bool __fastcall DblClickOpen(void);
- virtual void __fastcall DeviceChangeDetected(System::TObject* ASender, Messages::TMessage &AMessage
- );
- DYNAMIC void __fastcall Edit(const tagLVITEMA &Item);
- virtual void __fastcall FillList(Uptshell95::IShellFolder* ishf, Uptshell95::PItemIDList basepidl);
-
- DYNAMIC void __fastcall FillComplete(void);
- DYNAMIC void __fastcall FillStart(void);
- DYNAMIC void __fastcall FolderChanged(void);
- virtual void __fastcall Loaded(void);
- virtual void __fastcall Notification(Classes::TComponent* aComponent, Classes::TOperation aOperation
- );
- virtual void __fastcall CreateWnd(void);
- virtual void __fastcall DestroyWnd(void);
- void __fastcall TreeChanged(Comctrls::TTreeNode* aTreeNode);
- DYNAMIC void __fastcall Delete(Comctrls::TListItem* item);
- DYNAMIC void __fastcall ColClick(Comctrls::TListColumn* Column);
- DYNAMIC unsigned __fastcall GetUIObjectForAllSelected(const GUID &riid, void * &interfaceOut);
- DYNAMIC unsigned __fastcall GetUIObjectForItem(Comctrls::TListItem* aItem, const GUID &riid, void *
- &interfaceOut);
- DYNAMIC void __fastcall KeyDown(Word &key, Classes::TShiftState aShiftState);
- DYNAMIC void __fastcall KeyPress(char &key);
- DYNAMIC void __fastcall MouseDown(Controls::TMouseButton aButton, Classes::TShiftState aShift, int
- x, int y);
- DYNAMIC void __fastcall ItemContextMenu(Comctrls::TListItem* aItem, Windows::TPoint &aPos, Menus::TPopupMenu*
- &aMenu);
- bool __fastcall ItemHasData(Comctrls::TListItem* aItem);
- DYNAMIC void __fastcall InsertItem(Comctrls::TListItem* Item);
- DYNAMIC bool __fastcall DoMouseWheelDown(Classes::TShiftState Shift, const Windows::TPoint &MousePos
- );
- DYNAMIC bool __fastcall DoMouseWheelUp(Classes::TShiftState Shift, const Windows::TPoint &MousePos)
- ;
- virtual Upttreelist::TPTCustomDraw* __fastcall PTCustomDraw(const Upttreelist::TNMCustomDraw &aNMHDR
- , int &aResult);
- DYNAMIC void __fastcall PTCustomDrawSh(Upttreelist::TPTCustomDraw* aCD, Comctrls::TListItem* aItem,
- TPTShListData* aData);
- DYNAMIC void __fastcall InstallChangeHandler(void);
- virtual void __fastcall FilterPreApply(void);
- virtual bool __fastcall FilterApply(const AnsiString aFilename, unsigned aAttrib);
- virtual void __fastcall FilterPostApply(void);
- bool __fastcall IsFolderNetworkShare(void);
- __property Columns = {stored=false};
- __property Items = {stored=false};
- __property AllocBy = {stored=false, default=0};
- __property TPTShListData* SelectedItem = {read=GetSelectedItem};
- __property TPTShListData* ShListData[int idx] = {read=GetShListData};
- __property int SortColumn = {read=mSortColumn, write=SetSortColumn, nodefault};
- __property Uptshell95::IShellFolder* _IShellFolder = {read=mIShf};
- __property TPTShellListOptions Options = {read=mOptions, write=SetOptions, default=7835};
- __property TPTShellLocator* Folder = {read=mFolder, write=SetFolder, stored=IsFolderStored};
- __property AnsiString FileFilter = {read=mFileFilter, write=SetFileFilter};
- __property TPTShAddItemEvent OnAddItem = {read=mOnAddItemProc, write=mOnAddItemProc};
- __property TPTShListDeleteItemEvent OnDeleteItem = {read=mOnDeleteItemProc, write=mOnDeleteItemProc
- };
- __property TPTShPopupHintEvent OnPopupHint = {read=mOnPopupHintProc, write=mOnPopupHintProc};
- __property TPTShDblClickOpenEvent OnDblClickOpen = {read=mOnDblClickOpenProc, write=mOnDblClickOpenProc
- };
- __property TPTShLvCustomDrawEvent OnCustomDrawSh = {read=mOnCustomDrawShProc, write=mOnCustomDrawShProc
- };
- __property TPTShLvCustomDrawEvent OnCustomDrawShEx = {read=mOnCustomDrawShExProc, write=mOnCustomDrawShExProc
- };
- __property Classes::TNotifyEvent OnFillComplete = {read=mOnFillComplete, write=mOnFillComplete};
- __property Classes::TNotifyEvent OnFillStart = {read=mOnFillStart, write=mOnFillStart};
- __property Classes::TNotifyEvent OnFolderChanged = {read=mOnFolderChanged, write=mOnFolderChanged};
-
-
- public:
- __fastcall virtual TPTCustomShellList(Classes::TComponent* aOwner);
- __fastcall virtual ~TPTCustomShellList(void);
- bool __fastcall CreateNewFolder(bool afEditNow);
- void __fastcall DoCommandForItem(Comctrls::TListItem* aItem, char * cmd);
- void __fastcall DoCommandForAllSelected(char * cmd);
- void __fastcall DoCommandForFolder(char * cmd);
- void __fastcall FillItems(void);
- void __fastcall GoUp(int aLevels);
- TPTShListData* __fastcall GetDataFromItem(Comctrls::TListItem* item);
- void __fastcall OpenItem(Comctrls::TListItem* aItem);
- void __fastcall OpenSelectedItems(void);
- void __fastcall ProcessMenu(Comctrls::TListItem* aItem, const Windows::TPoint &at);
- void __fastcall ProcessMenuForAllSelected(const Windows::TPoint &at);
- void __fastcall ProcessSendTo(int idx);
- void __fastcall RefreshItems(void);
- unsigned __fastcall GetDragDropAttributesForAllSelected(void);
- unsigned __fastcall GetDragDropAttributesForItem(Comctrls::TListItem* item);
- void __fastcall SelectAll(void);
- int __fastcall ShellSelCount(void);
- void __fastcall SortList(void);
- void __fastcall Synchronize(bool afApplyToGroup);
- public:
- #pragma option push -w-inl
- /* TWinControl.CreateParented */ inline __fastcall TPTCustomShellList(HWND ParentWindow) : Upttreelist::TPTCustomListView(
- ParentWindow) { }
- #pragma option pop
-
- };
-
- #pragma pack(pop)
-
- #pragma pack(push, 4)
- class PASCALIMPLEMENTATION TPTCustomShellTree : public Upttreelist::TPTCustomTreeView
- {
- typedef Upttreelist::TPTCustomTreeView inherited;
-
- private:
- TPTShellLocator* mBaseFolder;
- TPTShellLocator* mSelectedFolder;
- Extctrls::TTimer* mTimer;
- TPTCustomShellList* mShellList;
- TPTShellTreeOptions mOptions;
- TPTShAddItemEvent mOnAddItemProc;
- TPTShTreeDeleteItemEvent mOnDeleteItemProc;
- TPTShTreeInsertItemEvent mOnInsertItemProc;
- TPTShPopupHintEvent mOnPopupHintProc;
- TPTShTvCustomDrawEvent mOnCustomDrawShProc;
- TPTShTvCustomDrawEvent mOnCustomDrawShExProc;
- Classes::TNotifyEvent mOnFillCompleteProc;
- Classes::TNotifyEvent mOnFillStartProc;
- TPTCustomShellCombo* mShellCombo;
- Uptshell95::IContextMenu* mActiveIContextMenu;
- BOOL mfQuickSelect;
- int mIgnoreChanges;
- BOOL mfEatExpand;
- bool mfIgnoreNextChangeNotify;
- void *mChangeHandlerThread;
- bool mfDeferRefresh;
- bool mfRefreshDeferred;
- Comctrls::TTreeNode* mDragNode;
- int mLastAutoScrollTick;
- Comctrls::TTreeNode* mLastNode;
- bool mfLoaded;
- bool mfDeletingNodes;
- IDataObject* mIDataObject;
- void __fastcall OleBeginDrag(Controls::TMouseButton aButton);
-
- protected:
- IDropTarget* mIDropTarget;
- IDataObject* mILastDropDataObject;
- int mInitialDropKeyState;
- virtual unsigned __fastcall OnDropTarget_DragEnter(const IDataObject* dataObj, int grfKeyState, const
- Windows::TPoint &pt, int &dwEffect);
- virtual unsigned __fastcall OnDropTarget_DragOver(int grfKeyState, const Windows::TPoint &pt, int &
- dwEffect);
- virtual unsigned __fastcall OnDropTarget_DragLeave(void);
- virtual unsigned __fastcall OnDropTarget_Drop(const IDataObject* dataObj, int grfKeyState, const Windows::TPoint
- &pt, int &dwEffect);
-
- private:
- void __fastcall InitImageList(void);
- void __fastcall BaseFolderChanged(System::TObject* sender);
- void __fastcall SelectedFolderChanged(System::TObject* sender);
- void __fastcall TimerElapsed(System::TObject* sender);
- TPTShTreeData* __fastcall GetSelectedItem(void);
- AnsiString __fastcall GetSelectedPathName();
- TPTShTreeData* __fastcall GetShTreeData(int idx);
- void __fastcall SetBaseFolder(TPTShellLocator* aValue);
- void __fastcall SetShellList(TPTCustomShellList* aValue);
- void __fastcall SetOptions(TPTShellTreeOptions aValue);
- void __fastcall SetSelectedFolder(TPTShellLocator* aValue);
- void __fastcall DoSetSelectedIdList(Uptshell95::PItemIDList aValue);
- void __fastcall SetShellCombo(TPTCustomShellCombo* aValue);
- MESSAGE void __fastcall AMChangeNotify(Messages::TMessage &aMsg);
- MESSAGE void __fastcall AMDeferredFill(Messages::TMessage &aMsg);
- HIDESBASE MESSAGE void __fastcall CMDesignHitTest(Messages::TWMMouse &aMsg);
- MESSAGE void __fastcall CMWantSpecialKey(Messages::TWMKey &aMsg);
- HIDESBASE MESSAGE void __fastcall CNNotify(Messages::TWMNotify &aMsg);
- MESSAGE void __fastcall TVMDeleteItem(Messages::TMessage &aMsg);
- MESSAGE void __fastcall WMMenuChar(Messages::TWMMenuChar &aMsg);
- HIDESBASE MESSAGE void __fastcall WMDrawItem(Messages::TWMDrawItem &aMsg);
- HIDESBASE MESSAGE void __fastcall WMNCDestroy(Messages::TWMNoParams &aMsg);
- HIDESBASE MESSAGE void __fastcall WMNCHitTest(Messages::TWMNCHitTest &aMsg);
- HIDESBASE MESSAGE void __fastcall WMMeasureItem(Messages::TWMMeasureItem &aMsg);
- MESSAGE void __fastcall WMMenuSelect(Messages::TWMMenuSelect &aMsg);
- MESSAGE void __fastcall WMInitMenuPopup(Messages::TWMInitMenuPopup &aMsg);
- HIDESBASE MESSAGE void __fastcall WMWindowPosChanged(Messages::TWMWindowPosMsg &aMsg);
- HIDESBASE MESSAGE void __fastcall WMPaint(Messages::TWMPaint &aMsg);
-
- protected:
- void __fastcall SetSelectedPathName(AnsiString aValue);
- unsigned __fastcall AddNewShellNode(Uptshell95::IShellFolder* aParent, Uptshell95::PItemIDList aParentAbsIdList
- , Comctrls::TTreeNode* aParentNode, Uptshell95::PItemIDList aRelIdList);
- virtual BOOL __fastcall CanAdd(Uptshell95::IShellFolder* aParentIShf, Uptshell95::PItemIDList aParentAbsPidl
- , Uptshell95::PItemIDList aItemRelPidl, unsigned attribs);
- DYNAMIC bool __fastcall CanExpand(Comctrls::TTreeNode* aNode);
- DYNAMIC bool __fastcall CanEdit(Comctrls::TTreeNode* Node);
- DYNAMIC void __fastcall Change(Comctrls::TTreeNode* Node);
- virtual void __fastcall DeviceChangeDetected(System::TObject* ASender, Messages::TMessage &AMessage
- );
- virtual Upttreelist::TPTCustomDraw* __fastcall PTCustomDraw(const Upttreelist::TNMCustomDraw &aNMHDR
- , int &aResult);
- DYNAMIC void __fastcall PTCustomDrawSh(Upttreelist::TPTCustomDraw* aCD, Comctrls::TTreeNode* aNode,
- TPTShTreeData* aData);
- DYNAMIC void __fastcall DoOnInsertItem(Comctrls::TTreeNode* aNode);
- DYNAMIC void __fastcall NodeContextMenu(Comctrls::TTreeNode* aNode, Windows::TPoint &aPos, Menus::TPopupMenu*
- &aMenu);
- bool __fastcall NodeHasData(Comctrls::TTreeNode* aNode);
- DYNAMIC void __fastcall Delete(Comctrls::TTreeNode* aNode);
- DYNAMIC void __fastcall ExpandNode(Comctrls::TTreeNode* aNode);
- DYNAMIC void __fastcall Edit(const tagTVITEMA &aItem);
- virtual void __fastcall FillTree(Uptshell95::IShellFolder* ishf, Comctrls::TTreeNode* aBaseNode);
- DYNAMIC void __fastcall FillComplete(void);
- DYNAMIC void __fastcall FillStart(void);
- Comctrls::TTreeNode* __fastcall GetFirstRootLevelShellNode(void);
- virtual void __fastcall GetImageIndex(Comctrls::TTreeNode* aNode);
- virtual void __fastcall GetSelectedIndex(Comctrls::TTreeNode* aNode);
- virtual void __fastcall Loaded(void);
- virtual void __fastcall Notification(Classes::TComponent* aComponent, Classes::TOperation aOperation
- );
- virtual void __fastcall CreateParams(Controls::TCreateParams &p);
- virtual void __fastcall CreateWnd(void);
- virtual void __fastcall DestroyWnd(void);
- DYNAMIC void __fastcall KeyDown(Word &key, Classes::TShiftState aShiftState);
- DYNAMIC void __fastcall ProcessSendTo(Comctrls::TTreeNode* aItem, int idx);
- DYNAMIC bool __fastcall DoMouseWheelDown(Classes::TShiftState Shift, const Windows::TPoint &MousePos
- );
- DYNAMIC bool __fastcall DoMouseWheelUp(Classes::TShiftState Shift, const Windows::TPoint &MousePos)
- ;
- DYNAMIC void __fastcall InstallChangeHandler(const AnsiString aPathname);
- void __fastcall InstallChangeHandlersForAllLocalDrives(void);
- __property TPTShTreeData* SelectedItem = {read=GetSelectedItem};
- __property TPTShellLocator* SelectedFolder = {read=mSelectedFolder, write=SetSelectedFolder};
- __property AnsiString SelectedPathName = {read=GetSelectedPathName, write=SetSelectedPathName};
- __property TPTShTreeData* ShTreeData[int idx] = {read=GetShTreeData};
- __property Items = {stored=false};
- __property TPTShellLocator* BaseFolder = {read=mBaseFolder, write=SetBaseFolder};
- __property TPTCustomShellList* ShellList = {read=mShellList, write=SetShellList};
- __property TPTShellTreeOptions Options = {read=mOptions, write=SetOptions, default=955};
- __property TPTShAddItemEvent OnAddItem = {read=mOnAddItemProc, write=mOnAddItemProc};
- __property TPTShTreeDeleteItemEvent OnDeleteItem = {read=mOnDeleteItemProc, write=mOnDeleteItemProc
- };
- __property TPTShTreeInsertItemEvent OnInsertItem = {read=mOnInsertItemProc, write=mOnInsertItemProc
- };
- __property TPTShPopupHintEvent OnPopupHint = {read=mOnPopupHintProc, write=mOnPopupHintProc};
- __property Classes::TNotifyEvent OnFillComplete = {read=mOnFillCompleteProc, write=mOnFillCompleteProc
- };
- __property Classes::TNotifyEvent OnFillStart = {read=mOnFillStartProc, write=mOnFillStartProc};
- __property TPTShTvCustomDrawEvent OnCustomDrawSh = {read=mOnCustomDrawShProc, write=mOnCustomDrawShProc
- };
- __property TPTShTvCustomDrawEvent OnCustomDrawShEx = {read=mOnCustomDrawShExProc, write=mOnCustomDrawShExProc
- };
-
- public:
- __fastcall virtual TPTCustomShellTree(Classes::TComponent* aOwner);
- __fastcall virtual ~TPTCustomShellTree(void);
- void __fastcall FillItems(void);
- void __fastcall RefreshNodes(void);
- TPTShTreeData* __fastcall GetDataFromNode(Comctrls::TTreeNode* node);
- void __fastcall GoUp(int aLevels);
- bool __fastcall CreateNewFolder(bool afEditNow);
- unsigned __fastcall DoCommandForNode(Comctrls::TTreeNode* aNode, char * aCmd);
- Comctrls::TTreeNode* __fastcall FindNodeWithIdList(Comctrls::TTreeNode* baseNode, Uptshell95::PItemIDList
- pidl);
- DYNAMIC void __fastcall ProcessMenu(Comctrls::TTreeNode* aItem, const Windows::TPoint &at);
- void __fastcall SortNode(Comctrls::TTreeNode* aTreeNode);
- void __fastcall Synchronize(bool afApplyToGroup);
- unsigned __fastcall GetDragDropAttributesForNode(Comctrls::TTreeNode* node);
- public:
- #pragma option push -w-inl
- /* TWinControl.CreateParented */ inline __fastcall TPTCustomShellTree(HWND ParentWindow) : Upttreelist::TPTCustomTreeView(
- ParentWindow) { }
- #pragma option pop
-
- };
-
- #pragma pack(pop)
-
- class DELPHICLASS TPTShellTree;
- #pragma pack(push, 4)
- class PASCALIMPLEMENTATION TPTShellTree : public TPTCustomShellTree
- {
- typedef TPTCustomShellTree inherited;
-
- public:
- __property SelectedItem ;
- __property SelectedFolder ;
- __property SelectedPathName ;
- __property ShTreeData ;
- __property Items ;
-
- __published:
- __property BaseFolder ;
- __property OnNodeContextMenu ;
- __property ShellList ;
- __property Options ;
- __property OnAddItem ;
- __property OnDeleteItem ;
- __property OnInsertItem ;
- __property OnPopupHint ;
- __property OnCustomDrawSh ;
- __property OnCustomDrawShEx ;
- __property OnFillComplete ;
- __property OnFillStart ;
- __property ShowButtons ;
- __property BorderStyle ;
- __property DragCursor ;
- __property ShowLines ;
- __property ShowRoot ;
- __property ReadOnly ;
- __property DragMode ;
- __property HideSelection ;
- __property Indent ;
- __property OnEditing ;
- __property OnEdited ;
- __property OnExpanding ;
- __property OnExpanded ;
- __property OnCollapsing ;
- __property OnCollapsed ;
- __property OnChanging ;
- __property OnChange ;
- __property OnDeletion ;
- __property OnGetImageIndex ;
- __property OnGetSelectedIndex ;
- __property Align ;
- __property Enabled ;
- __property Font ;
- __property Color ;
- __property ParentColor ;
- __property ParentCtl3D ;
- __property ParentFont ;
- __property Ctl3D ;
- __property TabOrder ;
- __property TabStop ;
- __property Visible ;
- __property OnClick ;
- __property OnEnter ;
- __property OnExit ;
- __property OnDragDrop ;
- __property OnDragOver ;
- __property OnStartDrag ;
- __property OnEndDrag ;
- __property OnMouseDown ;
- __property OnMouseMove ;
- __property OnMouseUp ;
- __property OnDblClick ;
- __property OnKeyDown ;
- __property OnKeyPress ;
- __property OnKeyUp ;
- __property PopupMenu ;
- __property ParentShowHint ;
- __property ShowHint ;
- __property StateImages ;
- __property RightClickSelect ;
- __property Anchors ;
- __property AutoExpand ;
- __property BiDiMode ;
- __property BorderWidth ;
- __property ChangeDelay ;
- __property Constraints ;
- __property DragKind ;
- __property HotTrack ;
- __property ParentBiDiMode ;
- __property RowSelect ;
- __property ToolTips ;
- __property OnEndDock ;
- __property OnStartDock ;
- __property OnMouseWheelDown ;
- __property OnMouseWheelUp ;
- __property OnMouseWheel ;
- __property OnCustomDraw ;
- __property OnCustomDrawItem ;
- public:
- #pragma option push -w-inl
- /* TPTCustomShellTree.Create */ inline __fastcall virtual TPTShellTree(Classes::TComponent* aOwner)
- : TPTCustomShellTree(aOwner) { }
- #pragma option pop
- #pragma option push -w-inl
- /* TPTCustomShellTree.Destroy */ inline __fastcall virtual ~TPTShellTree(void) { }
- #pragma option pop
-
- public:
- #pragma option push -w-inl
- /* TWinControl.CreateParented */ inline __fastcall TPTShellTree(HWND ParentWindow) : TPTCustomShellTree(
- ParentWindow) { }
- #pragma option pop
-
- };
-
- #pragma pack(pop)
-
- class DELPHICLASS TPTShellList;
- #pragma pack(push, 4)
- class PASCALIMPLEMENTATION TPTShellList : public TPTCustomShellList
- {
- typedef TPTCustomShellList inherited;
-
- public:
- __property SelectedItem ;
- __property ShListData ;
- __property SortColumn ;
- __property Columns ;
- __property Items ;
- __property _IShellFolder ;
- __property HeaderCanvas ;
- __property HeaderHandle ;
- __property HeaderSortColumn ;
- __property HeaderSortDirection ;
-
- __published:
- __property HeaderSortDisplayMode ;
- __property OnItemContextMenu ;
- __property Options ;
- __property Folder ;
- __property FileFilter ;
- __property OnAddItem ;
- __property OnDeleteItem ;
- __property OnPopupHint ;
- __property OnDblClickOpen ;
- __property OnCustomDrawSh ;
- __property OnCustomDrawShEx ;
- __property OnFillComplete ;
- __property OnFillStart ;
- __property OnFolderChanged ;
- __property Align ;
- __property BorderStyle ;
- __property Color ;
- __property ColumnClick ;
- __property OnClick ;
- __property OnDblClick ;
- __property Ctl3D ;
- __property DragMode ;
- __property Enabled ;
- __property ReadOnly ;
- __property Font ;
- __property ParentColor ;
- __property ParentCtl3D ;
- __property ParentFont ;
- __property HideSelection ;
- __property IconOptions ;
- __property MultiSelect ;
- __property OnChange ;
- __property OnChanging ;
- __property OnColumnClick ;
- __property OnDeletion ;
- __property OnEdited ;
- __property OnEditing ;
- __property OnEnter ;
- __property OnExit ;
- __property OnInsert ;
- __property OnDragDrop ;
- __property OnDragOver ;
- __property DragCursor ;
- __property OnStartDrag ;
- __property OnEndDrag ;
- __property OnMouseDown ;
- __property OnMouseMove ;
- __property OnMouseUp ;
- __property ParentShowHint ;
- __property ShowHint ;
- __property PopupMenu ;
- __property ShowColumnHeaders ;
- __property TabOrder ;
- __property TabStop ;
- __property ViewStyle ;
- __property Visible ;
- __property OnKeyDown ;
- __property OnKeyPress ;
- __property OnKeyUp ;
- __property StateImages ;
- __property OnCompare ;
- __property Checkboxes ;
- __property GridLines ;
- __property HotTrack ;
- __property RowSelect ;
- __property Anchors ;
- __property BiDiMode ;
- __property BorderWidth ;
- __property Constraints ;
- __property DragKind ;
- __property FlatScrollBars ;
- __property FullDrag ;
- __property HotTrackStyles ;
- __property OwnerData ;
- __property OwnerDraw ;
- __property ParentBiDiMode ;
- __property OnData ;
- __property OnDataFind ;
- __property OnDataHint ;
- __property OnDataStateChange ;
- __property OnDrawItem ;
- __property OnGetImageIndex ;
- __property OnResize ;
- __property OnEndDock ;
- __property OnSelectItem ;
- __property OnStartDock ;
- __property OnMouseWheelDown ;
- __property OnMouseWheelUp ;
- __property OnMouseWheel ;
- __property OnCustomDraw ;
- __property OnCustomDrawItem ;
- public:
- #pragma option push -w-inl
- /* TPTCustomShellList.Create */ inline __fastcall virtual TPTShellList(Classes::TComponent* aOwner)
- : TPTCustomShellList(aOwner) { }
- #pragma option pop
- #pragma option push -w-inl
- /* TPTCustomShellList.Destroy */ inline __fastcall virtual ~TPTShellList(void) { }
- #pragma option pop
-
- public:
- #pragma option push -w-inl
- /* TWinControl.CreateParented */ inline __fastcall TPTShellList(HWND ParentWindow) : TPTCustomShellList(
- ParentWindow) { }
- #pragma option pop
-
- };
-
- #pragma pack(pop)
-
- class DELPHICLASS TPTShellCombo;
- #pragma pack(push, 4)
- class PASCALIMPLEMENTATION TPTShellCombo : public TPTCustomShellCombo
- {
- typedef TPTCustomShellCombo inherited;
-
- public:
- __property SelectedFolder ;
- __property ShComboData ;
-
- __published:
- __property ShellTree ;
- __property ShellList ;
- __property IndentPixels ;
- __property Options ;
- __property Color ;
- __property Ctl3D ;
- __property DragMode ;
- __property DragCursor ;
- __property DropDownCount ;
- __property Enabled ;
- __property Font ;
- __property ParentColor ;
- __property ParentCtl3D ;
- __property ParentFont ;
- __property ParentShowHint ;
- __property PopupMenu ;
- __property ShowHint ;
- __property Sorted ;
- __property TabOrder ;
- __property TabStop ;
- __property Visible ;
- __property OnChange ;
- __property OnClick ;
- __property OnDblClick ;
- __property OnDragDrop ;
- __property OnDragOver ;
- __property OnDrawItem ;
- __property OnDropDown ;
- __property OnEndDrag ;
- __property OnEnter ;
- __property OnExit ;
- __property OnKeyDown ;
- __property OnKeyPress ;
- __property OnKeyUp ;
- __property OnMeasureItem ;
- __property OnStartDrag ;
- __property Anchors ;
- __property Constraints ;
- __property DragKind ;
- __property ImeMode ;
- __property ImeName ;
- __property BiDiMode ;
- __property ParentBiDiMode ;
- __property OnEndDock ;
- __property OnStartDock ;
- __property OnDeleteItem ;
- __property OnCloseUp ;
- __property OnSelEndCancel ;
- __property OnSelEndOk ;
- public:
- #pragma option push -w-inl
- /* TPTCustomShellCombo.Create */ inline __fastcall virtual TPTShellCombo(Classes::TComponent* aOwner
- ) : TPTCustomShellCombo(aOwner) { }
- #pragma option pop
- #pragma option push -w-inl
- /* TPTCustomShellCombo.Destroy */ inline __fastcall virtual ~TPTShellCombo(void) { }
- #pragma option pop
-
- public:
- #pragma option push -w-inl
- /* TWinControl.CreateParented */ inline __fastcall TPTShellCombo(HWND ParentWindow) : TPTCustomShellCombo(
- ParentWindow) { }
- #pragma option pop
-
- };
-
- #pragma pack(pop)
-
- #pragma pack(push, 4)
- class PASCALIMPLEMENTATION TPTShTreeData : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- TPTCustomShellTree* mOwner;
- TPTShTreeData* mParent;
- Uptshell95::TItemIDList *mRelPidl;
- Uptshell95::TItemIDList *mAbsPidl;
- Uptshell95::IShellFolder* mThisIshf;
- Uptshell95::IShellFolder* mParentIShf;
- void *mData;
- Uptshell95::PItemIDList __fastcall GetAbsPidl(void);
- bool __fastcall GetEditable(void);
- AnsiString __fastcall GetPathName();
- Uptshell95::IShellFolder* __fastcall GetParentIShf(void);
- Uptshell95::IShellFolder* __fastcall GetThisIShf(void);
- void __fastcall SetData(TPTShTreeData* aParent, Uptshell95::PItemIDList thisRelativePidl);
- void __fastcall SetRelPidl(Uptshell95::PItemIDList newRelPidl);
-
- public:
- __fastcall TPTShTreeData(TPTCustomShellTree* aOwner);
- __fastcall virtual ~TPTShTreeData(void);
- unsigned __fastcall GetIDropTarget(HWND h, IDropTarget* &idt);
- bool __fastcall IsRootDir(void);
- void __fastcall Flush(void);
- __property TPTShTreeData* Parent = {read=mParent};
- __property Uptshell95::IShellFolder* ParentIShf = {read=GetParentIShf};
- __property Uptshell95::PItemIDList AbsoluteIdList = {read=GetAbsPidl};
- __property Uptshell95::PItemIDList RelativeIdList = {read=mRelPidl};
- __property Uptshell95::IShellFolder* ThisIShf = {read=GetThisIShf};
- __property AnsiString PathName = {read=GetPathName};
- __property bool Editable = {read=GetEditable, nodefault};
- __property void * Data = {read=mData, write=mData};
- };
-
- #pragma pack(pop)
-
- #pragma pack(push, 4)
- class PASCALIMPLEMENTATION TPTShListData : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- TPTCustomShellList* mOwner;
- Uptshell95::TItemIDList *mAbsPidl;
- Uptshell95::TItemIDList *mRelPidl;
- void *mData;
- AnsiString mDisplayName;
- bool mfDataValid;
- AnsiString mSize;
- AnsiString mType;
- AnsiString mModified;
- Uptshell95::PItemIDList __fastcall GetAbsoluteIdList(void);
- unsigned __fastcall GetAttributes(void);
- bool __fastcall GetEditable(void);
- AnsiString __fastcall GetDisplayName();
- AnsiString __fastcall GetFilename();
- AnsiString __fastcall GetPathName();
- AnsiString __fastcall GetColText(int col);
- void __fastcall GetExtraData(void);
- AnsiString __fastcall GetSize();
- AnsiString __fastcall GetFileType();
- AnsiString __fastcall GetModified();
- void __fastcall SetData(Uptshell95::PItemIDList aRelPidl);
-
- public:
- __fastcall TPTShListData(TPTCustomShellList* aOwner);
- __fastcall virtual ~TPTShListData(void);
- bool __fastcall IsFolder(void);
- bool __fastcall IsLnkShortcut(void);
- bool __fastcall IsValid(void);
- bool __fastcall IsFileSystem(void);
- void __fastcall Flush(void);
- __property TPTCustomShellList* Owner = {read=mOwner};
- __property Uptshell95::PItemIDList AbsoluteIdList = {read=GetAbsoluteIdList};
- __property bool Editable = {read=GetEditable, nodefault};
- __property Uptshell95::PItemIDList RelativeIdList = {read=mRelPidl};
- __property unsigned Attributes = {read=GetAttributes, nodefault};
- __property AnsiString DisplayName = {read=GetDisplayName};
- __property AnsiString FileName = {read=GetFilename};
- __property AnsiString PathName = {read=GetPathName};
- __property AnsiString ColText[int col] = {read=GetColText};
- __property AnsiString Size = {read=GetSize};
- __property AnsiString FileType = {read=GetFileType};
- __property AnsiString Modified = {read=GetModified};
- __property void * Data = {read=mData, write=mData};
- };
-
- #pragma pack(pop)
-
- #pragma pack(push, 4)
- class PASCALIMPLEMENTATION TPTShComboData : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- TPTCustomShellCombo* mOwner;
- Uptshell95::IShellFolder* mishfParent;
- Uptshell95::TItemIDList *mParentPidl;
- Uptshell95::TItemIDList *mRelPidl;
- Uptshell95::TItemIDList *mAbsPidl;
- Uptshell95::IShellFolder* mThisIShf;
- void *mData;
- Uptshell95::IShellFolder* __fastcall GetThisIShf(void);
- void __fastcall SetData(Uptshell95::IShellFolder* aParentIShf, Uptshell95::PItemIDList parentPidl,
- Uptshell95::PItemIDList curRelativePidl);
-
- public:
- __fastcall TPTShComboData(TPTCustomShellCombo* aOwner);
- __fastcall virtual ~TPTShComboData(void);
- __property Uptshell95::PItemIDList ParentIdList = {read=mParentPidl};
- __property Uptshell95::IShellFolder* ParentIShf = {read=mishfParent};
- __property Uptshell95::PItemIDList RelativeIdList = {read=mRelPidl};
- __property Uptshell95::PItemIDList AbsoluteIdList = {read=mAbsPidl};
- __property Uptshell95::IShellFolder* ThisIShf = {read=GetThisIShf};
- __property void * Data = {read=mData, write=mData};
- };
-
- #pragma pack(pop)
-
- //-- var, const, procedure ---------------------------------------------------
- static const Word PTSH_AM_CHANGE_NOTIFY = 0x465;
- static const Word PTSH_AM_DEFERRED_EDIT = 0x466;
- static const Word PTSH_AM_DEFERRED_FILL = 0x467;
- static const Word PTSH_AM_LAST = 0x496;
- extern PACKAGE int PTSH_CHANGE_NOTIFY_DELAY;
- extern PACKAGE int PTSH_CHANGE_NOTIFY_FASTDELAY;
- extern PACKAGE int PTSH_TREE_KEY_UPDATE_DELAY;
- extern PACKAGE int PTSH_MAX_FOLDER_ATTEMPTS;
- extern PACKAGE int PTSH_AUTOSCROLL_THRESHOLD_X;
- extern PACKAGE int PTSH_AUTOSCROLL_THRESHOLD_Y;
- extern PACKAGE int PTSH_AUTOSCROLL_MINDELAY_MS;
- extern PACKAGE Word CF_IDLIST;
- extern PACKAGE bool __fastcall PTShCreateNewFolder(AnsiString aPathname, AnsiString &aNewName);
-
- } /* namespace Uptshellcontrols */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Uptshellcontrols;
- #endif
- #pragma option pop // -w-
-
- #pragma delphiheader end.
- //-- end unit ----------------------------------------------------------------
- #endif // UPTShellControls
-